﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class XNodeExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class XNodeExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Xml.XNodeExtensions">
  
  
  <h1 id="CodeJam_Xml_XNodeExtensions" data-uid="CodeJam.Xml.XNodeExtensions" class="text-break">Class XNodeExtensions
  </h1>
  <div class="markdown level0 summary"><p>Extensions for XLinq.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">XNodeExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Xml.html">CodeJam.Xml</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Xml_XNodeExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class XNodeExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_String_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L163">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_String_" data-uid="CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault(System.Xml.Linq.XElement,System.Xml.Linq.XName,System.String)">AttributeValueOrDefault(XElement, XName, String)</h4>
  <div class="markdown level1 summary"><p>Returns string value of optional attribute.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string AttributeValueOrDefault(this XElement element, XName attrName, string defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">element</span></td>
        <td><p>Element with attribute</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">attrName</span></td>
        <td><p>Attribute name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><p>Parsed value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if attribute does not exist.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">element</code> or <code data-dev-comment-type="paramref" class="paramref">attrName</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_String___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault%60%601(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%2CSystem.Func%7BSystem.String%2C%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L138">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_AttributeValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_String___0____0_" data-uid="CodeJam.Xml.XNodeExtensions.AttributeValueOrDefault``1(System.Xml.Linq.XElement,System.Xml.Linq.XName,System.Func{System.String,``0},``0)">AttributeValueOrDefault&lt;T&gt;(XElement, XName, Func&lt;String, T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns value of optional attribute.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T AttributeValueOrDefault&lt;T&gt;(this XElement element, XName attrName, Func&lt;string, T&gt; parser, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">element</span></td>
        <td><p>Element with attribute</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">attrName</span></td>
        <td><p>Attribute name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">System.String</span>, T&gt;</td>
        <td><span class="parametername">parser</span></td>
        <td><p>Value parser</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Parsed value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if attribute not exists.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">element</code> or <code data-dev-comment-type="paramref" class="paramref">attrName</code> or <code data-dev-comment-type="paramref" class="paramref">parser</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_ElementAltValueOrDefault__1_System_Xml_Linq_XElement_System_Func_System_Xml_Linq_XElement___0____0_System_Xml_Linq_XName___.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.ElementAltValueOrDefault%60%601(System.Xml.Linq.XElement%2CSystem.Func%7BSystem.Xml.Linq.XElement%2C%60%600%7D%2C%60%600%2CSystem.Xml.Linq.XName%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L187">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_ElementAltValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.ElementAltValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_ElementAltValueOrDefault__1_System_Xml_Linq_XElement_System_Func_System_Xml_Linq_XElement___0____0_System_Xml_Linq_XName___" data-uid="CodeJam.Xml.XNodeExtensions.ElementAltValueOrDefault``1(System.Xml.Linq.XElement,System.Func{System.Xml.Linq.XElement,``0},``0,System.Xml.Linq.XName[])">ElementAltValueOrDefault&lt;T&gt;(XElement, Func&lt;XElement, T&gt;, T, XName[])</h4>
  <div class="markdown level1 summary"><p>Returns value of optional element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T ElementAltValueOrDefault&lt;T&gt;(this XElement parent, Func&lt;XElement, T&gt; valueSelector, T defaultValue, params XName[] names)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">System.Xml.Linq.XElement</span>, T&gt;</td>
        <td><span class="parametername">valueSelector</span></td>
        <td><p>Function to select element value</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span>[]</td>
        <td><span class="parametername">names</span></td>
        <td><p>Array of possible element names.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Selected element value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if element does not exist.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">valueSelector</code> or <code data-dev-comment-type="paramref" class="paramref">names</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_ElementValueOrDefault_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_String_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.ElementValueOrDefault(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L260">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_String_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault(System.Xml.Linq.XElement,System.Xml.Linq.XName,System.String)">ElementValueOrDefault(XElement, XName, String)</h4>
  <div class="markdown level1 summary"><p>Returns string value of optional element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string ElementValueOrDefault(this XElement parent, XName name, string defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Element name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><p>Selected element value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if element does not exist</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">name</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_ElementValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_String___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.ElementValueOrDefault%60%601(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%2CSystem.Func%7BSystem.String%2C%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L238">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_String___0____0_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault``1(System.Xml.Linq.XElement,System.Xml.Linq.XName,System.Func{System.String,``0},``0)">ElementValueOrDefault&lt;T&gt;(XElement, XName, Func&lt;String, T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns value of optional element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T ElementValueOrDefault&lt;T&gt;(this XElement parent, XName name, Func&lt;string, T&gt; valueSelector, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Element name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">System.String</span>, T&gt;</td>
        <td><span class="parametername">valueSelector</span></td>
        <td><p>Function to parse element value</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Selected element value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if element does not exist</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">name</code> or <code data-dev-comment-type="paramref" class="paramref">valueSelector</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_ElementValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_Xml_Linq_XElement___0____0_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.ElementValueOrDefault%60%601(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%2CSystem.Func%7BSystem.Xml.Linq.XElement%2C%60%600%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L214">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_ElementValueOrDefault__1_System_Xml_Linq_XElement_System_Xml_Linq_XName_System_Func_System_Xml_Linq_XElement___0____0_" data-uid="CodeJam.Xml.XNodeExtensions.ElementValueOrDefault``1(System.Xml.Linq.XElement,System.Xml.Linq.XName,System.Func{System.Xml.Linq.XElement,``0},``0)">ElementValueOrDefault&lt;T&gt;(XElement, XName, Func&lt;XElement, T&gt;, T)</h4>
  <div class="markdown level1 summary"><p>Returns value of optional element.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static T ElementValueOrDefault&lt;T&gt;(this XElement parent, XName name, Func&lt;XElement, T&gt; valueSelector, T defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Element name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;<span class="xref">System.Xml.Linq.XElement</span>, T&gt;</td>
        <td><span class="parametername">valueSelector</span></td>
        <td><p>Function to select element value</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>Selected element value or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if element does not exist</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td><p>Type of value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">valueSelector</code> is null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_RequiredAttribute_System_Xml_Linq_XElement_System_Xml_Linq_XName_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.RequiredAttribute(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L113">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_RequiredAttribute_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredAttribute*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_RequiredAttribute_System_Xml_Linq_XElement_System_Xml_Linq_XName_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredAttribute(System.Xml.Linq.XElement,System.Xml.Linq.XName)">RequiredAttribute(XElement, XName)</h4>
  <div class="markdown level1 summary"><p>Returns attribute with name <code data-dev-comment-type="paramref" class="paramref">name</code>, or throws an exception if attribute does not exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static XAttribute RequiredAttribute(this XElement element, XName name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">element</span></td>
        <td><p>The <span class="xref">System.Xml.Linq.XElement</span>.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Name of the attribute.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XAttribute</span></td>
        <td><p>Attribute with specified name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">element</code> or <code data-dev-comment-type="paramref" class="paramref">name</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.XmlException</span></td>
        <td><p>Attribute with specified name not found.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_RequiredElement_System_Xml_Linq_XElement_System_Xml_Linq_XName_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.RequiredElement(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L65">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_RequiredElement_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredElement*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_RequiredElement_System_Xml_Linq_XElement_System_Xml_Linq_XName_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredElement(System.Xml.Linq.XElement,System.Xml.Linq.XName)">RequiredElement(XElement, XName)</h4>
  <div class="markdown level1 summary"><p>Returns child element with name <code data-dev-comment-type="paramref" class="paramref">name</code>, or throws an exception if element does not exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static XElement RequiredElement(this XElement parent, XName name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">name</span></td>
        <td><p>Name of the element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><p>First element with specified name.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">name</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.XmlException</span></td>
        <td><p>Element with specified name does not exists.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_RequiredElement_System_Xml_Linq_XElement_System_Xml_Linq_XName___.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.RequiredElement(System.Xml.Linq.XElement%2CSystem.Xml.Linq.XName%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L89">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_RequiredElement_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredElement*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_RequiredElement_System_Xml_Linq_XElement_System_Xml_Linq_XName___" data-uid="CodeJam.Xml.XNodeExtensions.RequiredElement(System.Xml.Linq.XElement,System.Xml.Linq.XName[])">RequiredElement(XElement, XName[])</h4>
  <div class="markdown level1 summary"><p>Returns child element with one of names in <code data-dev-comment-type="paramref" class="paramref">names</code>,
or throws an exception if element does not exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static XElement RequiredElement(this XElement parent, params XName[] names)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><span class="parametername">parent</span></td>
        <td><p>Parent element.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span>[]</td>
        <td><span class="parametername">names</span></td>
        <td><p>Possible names of the element.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><p>First element that match one of specified names.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">parent</code> or <code data-dev-comment-type="paramref" class="paramref">names</code> is null.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.XmlException</span></td>
        <td><p>Element with one of specified names does not exists.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_RequiredRoot_System_Xml_Linq_XDocument_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.RequiredRoot(System.Xml.Linq.XDocument)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L26">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_RequiredRoot_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredRoot*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_RequiredRoot_System_Xml_Linq_XDocument_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredRoot(System.Xml.Linq.XDocument)">RequiredRoot(XDocument)</h4>
  <div class="markdown level1 summary"><p>Returns <code data-dev-comment-type="paramref" class="paramref">document</code> root, or throw an exception, if root is null.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static XElement RequiredRoot(this XDocument document)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XDocument</span></td>
        <td><span class="parametername">document</span></td>
        <td><p>The document.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><p>Document root</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">document</code> is null</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.XmlException</span></td>
        <td><p>Document has no root.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions_RequiredRoot_System_Xml_Linq_XDocument_System_Xml_Linq_XName_.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions.RequiredRoot(System.Xml.Linq.XDocument%2CSystem.Xml.Linq.XName)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L45">View Source</a>
  </span>
  <a id="CodeJam_Xml_XNodeExtensions_RequiredRoot_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredRoot*"></a>
  <h4 id="CodeJam_Xml_XNodeExtensions_RequiredRoot_System_Xml_Linq_XDocument_System_Xml_Linq_XName_" data-uid="CodeJam.Xml.XNodeExtensions.RequiredRoot(System.Xml.Linq.XDocument,System.Xml.Linq.XName)">RequiredRoot(XDocument, XName)</h4>
  <div class="markdown level1 summary"><p>Returns <code data-dev-comment-type="paramref" class="paramref">document</code> root, or throws an exception, if root is null or has another name.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static XElement RequiredRoot(this XDocument document, XName rootName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XDocument</span></td>
        <td><span class="parametername">document</span></td>
        <td><p>The document.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.Linq.XName</span></td>
        <td><span class="parametername">rootName</span></td>
        <td><p>Name of the root tag</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.Linq.XElement</span></td>
        <td><p>Document root</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.ArgumentNullException</span></td>
        <td><p><code data-dev-comment-type="paramref" class="paramref">document</code> is null</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Xml.XmlException</span></td>
        <td><p>Document has no root with specified name.</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Xml_XNodeExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Xml.XNodeExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Xml/XNodeExtensions.cs/#L16" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
